package com.ovstech.samples.axon.config;

import com.ovstech.commons.utils.GlobalIdGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class IdGeneratorConfig {

    @Bean
    public GlobalIdGenerator globalIdGenerator() {
        return new GlobalIdGenerator(1);
    }

}
